package com.lean.android.ad.core.feed

import android.view.View
import androidx.annotation.RestrictTo
import com.bytedance.sdk.openadsdk.TTFeedAd
import com.lean.android.ad.core.Ad

@RestrictTo(RestrictTo.Scope.LIBRARY)
class FeedAd(val nativeAd: TTFeedAd, private val reqId: String) : Ad {

    override val requestId: String
        get() = reqId

    override val adView: View?
        get() = nativeAd.adView

    override fun destroy() {
        nativeAd.destroy()
    }
}